Skip to main content

ARDK for Android/com.nianticlabs.ardk/ARDKStatus

ARDKStatus

enum ARDKStatus : Enum<ARDKStatus>

Status codes returned by ARDK operations.

ARDKStatus represents the outcome of ARDK API calls, indicating success or various types of failures. These codes help diagnose issues with ARDK integration and usage.

Parameters​

androidJvm

valueThe underlying integer value of the status code

See also​

ArdkStatusException

Entries​

SUCCESS[androidJvm]
SUCCESS
Operation completed successfully
NULL_ARGUMENT[androidJvm]
NULL_ARGUMENT
A required argument was null
INVALID_ARGUMENT[androidJvm]
INVALID_ARGUMENT
An argument had an invalid value
INVALID_OPERATION[androidJvm]
INVALID_OPERATION
The operation is not valid in the current state
INVALID_ARDK_HANDLE[androidJvm]
INVALID_ARDK_HANDLE
The provided ARDK handle is invalid or destroyed
FEATURE_NOT_INITIALIZED[androidJvm]
FEATURE_NOT_INITIALIZED
The required feature has not been initialized
FEATURE_ALREADY_INITIALIZED[androidJvm]
FEATURE_ALREADY_INITIALIZED
The feature is already initialized
NO_DATA[androidJvm]
NO_DATA
DEPRECATED. No data is available for the requested operation
INTERNAL_ERROR[androidJvm]
INTERNAL_ERROR
DEPRECATED.

Types​

NameSummary
Companion[androidJvm]
object Companion

Properties​

NameSummary
entries[androidJvm]
val entries: EnumEntries<ARDKStatus>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
name[androidJvm]
val name: String
ordinal[androidJvm]
val ordinal: Int
value[androidJvm]
val value: Int

Functions​

NameSummary
valueOf[androidJvm]
fun valueOf(value: String): ARDKStatus
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[androidJvm]
fun values(): Array<ARDKStatus>
Returns an array containing the constants of this enum type, in the order they're declared.